const go/types.constant_
60 uses
go/types (current package)
api.go#L419: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L130: if x.mode != constant_ {
builtins.go#L157: if x.mode == constant_ {
builtins.go#L158: mode = constant_
builtins.go#L172: mode = constant_
builtins.go#L224: if check.recordTypes() && mode != constant_ {
builtins.go#L303: if x.mode == constant_ && y.mode == constant_ {
builtins.go#L351: if x.mode == constant_ && y.mode == constant_ {
builtins.go#L357: if check.recordTypes() && x.mode != constant_ {
builtins.go#L459: if x.mode == constant_ {
builtins.go#L505: if x.mode == constant_ {
builtins.go#L515: if check.recordTypes() && x.mode != constant_ {
builtins.go#L612: if x.mode == constant_ && a.mode == constant_ {
builtins.go#L623: if x.mode != constant_ {
builtins.go#L637: if check.recordTypes() && x.mode != constant_ {
builtins.go#L764: x.mode = constant_
builtins.go#L833: x.mode = constant_
builtins.go#L857: x.mode = constant_
builtins.go#L941: if x.mode != constant_ || !isBoolean(x.typ) {
call.go#L237: if x.mode != invalid && x.mode != constant_ {
call.go#L748: x.mode = constant_
const.go#L23: assert(x.mode == constant_)
const.go#L255: assert(x.mode == constant_)
conversions.go#L21: constArg := x.mode == constant_
conversions.go#L116: } else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
expr.go#L175: if x.mode == constant_ {
expr.go#L403: if x.mode == constant_ {
expr.go#L560: if x.mode == constant_ && y.mode == constant_ {
expr.go#L621: if x.mode == constant_ {
expr.go#L641: if y.mode == constant_ {
expr.go#L682: if x.mode == constant_ {
expr.go#L683: if y.mode == constant_ {
expr.go#L834: if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
expr.go#L841: if x.mode == constant_ && y.mode == constant_ && isComplex(x.typ) {
expr.go#L852: if x.mode == constant_ && y.mode == constant_ {
index.go#L58: if x.mode == constant_ {
index.go#L279: if x.mode == constant_ {
index.go#L400: if x.mode != constant_ {
index.go#L436: if x.mode == constant_ {
literals.go#L265: if x.mode == constant_ {
operand.go#L29: constant_ // operand is a constant; the operand's typ is a Basic type
operand.go#L44: constant_: "constant",
operand.go#L143: case constant_:
operand.go#L175: if x.mode == constant_ {
operand.go#L292: x.mode = constant_
range.go#L56: mode: constant_,
recording.go#L28: case constant_:
recording.go#L65: if mode == constant_ {
stmt.go#L255: if v.mode != constant_ {
stmt.go#L646: x.mode = constant_
typexpr.go#L108: x.mode = constant_
typexpr.go#L492: if x.mode != constant_ {